package com.shareyi.baseproject.kernel.common.retry;

import com.shareyi.baseproject.kernel.common.enums.EnumCode;
import lombok.AllArgsConstructor;
import lombok.Getter;
import lombok.ToString;

/**
 * 重试消息业务码
 *
 * @author david
 * @date 2020-03-25
 */
@Getter
@ToString
@AllArgsConstructor
public enum RetryBizCodeEnum implements EnumCode<String> {

    SUBMIT_APPLICATION_FORM_EVENT("submitApplicationForm", "提交申请单"),
    AUDIT_APPLICATION_FORM_EVENT("auditApplicationForm", "审核申请单"),
    CANCEL_APPLICATION_FORM_EVENT("cancelApplicationForm", "撤销申请单"),
    UPDATE_APPLICATION_FORM_EVENT("updateApplicationForm", "修改申请单"),
    REGISTER_ACCOUNT_EVENT("registerAccount", "注册账号"),
    AUTH_ROLE_RETRY("authRoleRetry", "角色授权重试"),
    DEFAULT_GLOBAL_RETRY("defaultGlobalRetry", "默认全局重试"),
    CHANNEL_AUTHORIZE_RETRY("channelAuthorizeRetry", "渠道授权重试"),
    RIGHTS_AUTHORIZE_RETRY("rightsAuthorizeRetry", "权益授权重试");
    private String code;
    private String desc;


}
